#include "Graphics/Texture.hpp"
#include "Utility/InterfaceConversion.hpp"
#include "Utility/Resource.hpp"

#include "SFML/Graphics/Image.hpp"

#include <string>

namespace Graphics
{
	Texture::Texture( void )
	{
	}

	Texture::~Texture( void )
	{
	}

	void Texture::Load( const std::string &path )
	{
		bool success = img.LoadFromFile( path );
	}

	Math::Vectorf Texture::GetSize( void ) const
	{
		return Utility::CaffVector( sf::Vector2f( ( float ) img.GetWidth(), ( float ) img.GetHeight() ), false );
	}
}